pygame play sound

196

pygame play sound -

import pygame

pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()

Comments

Submit
0 Comments